<?php

/**
 * 格式固定，变量名固定
 */
$parentid = $menu_db->add_menu(array('name'=>'content', 'parentid'=>0, 'm'=>'', 'c'=>'', 'a'=>'', 'data'=>'', 'listorder'=>0, 'display'=>'1'));
$menu_db->add_menu(array('name'=>'content_public', 'parentid'=>$parentid, 'm'=>'Content', 'c'=>'AdminContent', 'a'=>'publish', 'data'=>'', 'listorder'=>0, 'display'=>'1'));
$cat_id = $menu_db->add_menu(array('name'=>'content_setting', 'parentid'=>$parentid, 'm'=>'', 'c'=>'', 'a'=>'', 'data'=>'', 'listorder'=>0, 'display'=>'1'));
$menu_db->add_menu(array('name'=>'category_manage', 'parentid'=>$cat_id, 'm'=>'Content', 'c'=>'AdminNav', 'a'=>'index', 'data'=>'', 'listorder'=>1, 'display'=>'1'));
$menu_db->add_menu(array('name'=>'category_add', 'parentid'=>$cat_id, 'm'=>'Content', 'c'=>'AdminNav', 'a'=>'add', 'data'=>'', 'listorder'=>1, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'category_edit', 'parentid'=>$cat_id, 'm'=>'Content', 'c'=>'AdminNav', 'a'=>'edit', 'data'=>'', 'listorder'=>1, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'category_del', 'parentid'=>$cat_id, 'm'=>'Content', 'c'=>'AdminNav', 'a'=>'deleteArray', 'data'=>'', 'listorder'=>1, 'display'=>'0'));
//typearticle

//$menu_db->add_menu(array('name'=>'announce_del', 'parentid'=>$parentid, 'm'=>'Announce', 'c'=>'Admin', 'a'=>'delete', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
//$menu_db->add_menu(array('name'=>'announce_show', 'parentid'=>$parentid, 'm'=>'Announce', 'c'=>'Admin', 'a'=>'show', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
//$menu_db->add_menu(array('name'=>'announce_cancel', 'parentid'=>$parentid, 'm'=>'Announce', 'c'=>'Admin', 'a'=>'cancel', 'data'=>'', 'listorder'=>0, 'display'=>'0'));

$language = array(
    'content' => '内容',
    'content_public' => '内容发布管理',
    'content_setting' => '内容相关设置',
    'category_manage' => '栏目管理',
    'category_add' => '添加栏目',
    'category_edit' => '编辑栏目',
    'category_del' => '删除条目',
);
?>